package com.example.wendao.view.ui.fragment;


import android.os.Bundle;

import androidx.databinding.DataBindingUtil;
import androidx.fragment.app.Fragment;
import androidx.recyclerview.widget.RecyclerView;

import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.example.wendao.R;
import com.example.wendao.databinding.FragmentFootnewsBinding;
import com.example.wendao.databinding.FragmentForumDetailsBinding;
import com.example.wendao.databinding.FragmentNewsDetailBinding;
import com.example.wendao.model.entity.Forum;
import com.example.wendao.model.entity.News;
import com.example.wendao.model.entity.User;
import com.example.wendao.view.adapter.FansListAdapter;
import com.example.wendao.viewmodel.ForumViewModel;
import com.example.wendao.viewmodel.NewsViewModel;
import com.example.wendao.viewmodel.UserViewModel;

/**
 * A simple {@link Fragment} subclass.
 */
public class ForumDetailsFragment extends Fragment {
    private FragmentForumDetailsBinding fragmentForumDetailsBinding;

    private Forum forum = null;
    private User user = null;
    private UserViewModel userViewModel = null;
    private ForumViewModel forumViewModel;
    Bundle bundle;

    public ForumDetailsFragment() {
        // Required empty public constructor
    }


    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
                             Bundle savedInstanceState) {
        fragmentForumDetailsBinding = DataBindingUtil.inflate(inflater, R.layout.fragment_forum_details, container, false);
            
        View view= fragmentForumDetailsBinding.getRoot();
        return view;
    }

}
